#include <stdio.h>
#define N 3
int main() {
    int a1[] = {10,11,12,13,14,15};  // a1  = a1 + 1
    int a2[] = {1,2,3,4,5,6};
    int a3[12];
    int i = 0, j = 0,k = 0;
    while (i < 6 &&  j < 6){
        if(a1[i] < a2[j]){
            a3[k++] = a1[i++];
        } else{
            a3[k++] = a2[j++];
        }
    }
    if(j >= 6){
        while (i < 6){
            a3[k++] = a1[i++];
        }
    } else{
        while (j < 6){
            a3[k++] = a2[j++];
        }
    }
    printf("dsfds");
    return 0;
}